﻿using MyLab.Interfaces.Models;

namespace MyLab.Interfaces.Services
{
    /// <summary>
    /// 用户服务接口
    /// </summary>
    public interface IUserSerive
    {
        void Register(IUser user);

        void Save(IUser user);

        void Delete(int userId);

        IUser GetCurrentUser();

        IUser SignIn(string userName, string password, bool remember);

        void SignOut();

        bool IsSignIn();
    }
}
